package birdry.ui
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author 
	 */
	public class  ScrollBarEvent extends Event	{
		
		public static const BAR_OVER:String = "bar_over";
		public static const BAR_OUT:String = "bar_out";
		public static const BAR_DOWN:String = "bar_down";
		public static const BAR_UP:String = "bar_up";
		public static const CONTENT_MOVE:String = "content_move";
		
		public var position:Number;
		public var speed:Number;
		public var ease:Function;
		
		function ScrollBarEvent( type:String, position:Number=0, speed:Number=0, ease:Function=null ): void	{
			this.position = position;
			this.speed = speed;
			this.ease = ease;
			super(type);
		}
		
		public override function clone(): Event	{
			return new ScrollBarEvent( type );
		}
	}
	
}